<h3>イベント一覧</h3>
<table>
	<tr><td>#</td>
		<td>名称</td>
		<td>ステータス</td>
		<td>スコア</td>
		<td>開始日時</td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	<% @events.each do |event|%>
	<tr>
		<td><%= event.id %></td>
		<td><%= event.name %></td>
		<td><%= event.status %></td>
		<td><%= event.score %></td>
		<td><%= event.start_time%></td>
		<td><%= link_to 'Show', admin_event_path(event)%></td>
		<td><%= link_to 'Edit', edit_admin_event_path(event) %></td>
		<td><%= link_to 'Delete', admin_event_path(event), :confirm => 'Are you sure?', :method => :delete%></td>
	</tr>
	<% end %>
</table>

